home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / cm100exe.zip / CM100EXE.EXE / SAMPLES / MASM / README.TXT < prev    next >
Text File  |  1991-11-16  |  3KB  |  90 lines

  1.      MICROSOFT MACRO ASSEMBLER SAMPLE
  2.  
  3.      This sample demonstrates how to use CMAKE to maintain a DOS
  4.      application that is built with the programs: MASM, CL, LIB, and
  5.      LINK.
  6.  
  7.  
  8.      TO RUN CMAKE:
  9.  
  10.         Execute CMAKE by entering the command
  11.  
  12.         cmake
  13.  
  14.         No parameters are required.
  15.  
  16.  
  17.      NOTE THE FOLLOWING:
  18.  
  19.      1. The commands (and comments) in the make file, "makefile".
  20.         CMAKE will deduce all dependencies from these commands.
  21.  
  22.         See: The Make File for CMAKE
  23.                MASM
  24.                * When is a MASM Command Required?
  25.                CL
  26.                * When is a CL Command Required?
  27.                LIB
  28.                * When is a LIB Command Required?
  29.                LINK
  30.                * When is a LINK Command Required?
  31.              in the help file.
  32.  
  33.      2. The format of the LIB response file, "message.lrf".  CMAKE
  34.         requires that a response file (of a particular form) be used
  35.         with the LIB command.
  36.  
  37.         See: The Make File for CMAKE
  38.                LIB
  39.                * The LIB Command Line
  40.              in the help file.
  41.  
  42.      3. The format of the LINK response file, "greeting.lnk".  CMAKE
  43.         requires that a response file (of a particular form) be used
  44.         with the LINK command.
  45.  
  46.         See: The Make File for CMAKE
  47.                LINK
  48.                * The LINK Command Line
  49.              in the help file.
  50.  
  51.      4. The use and placement of the comment
  52.  
  53.         ; CMAKE - INCLUDE END
  54.  
  55.         in the files, "a_hello.asm" and "a_world.asm".
  56.  
  57.         In these files, this comment is placed after all include
  58.         statements.  Although this comment is not required in assembly-
  59.         language-source files, it serves as an end-of-file mark for
  60.         CMAKE, and thus prevents CMAKE from searching the entire source
  61.         file for include statements.
  62.  
  63.         See: Optimizing Performance
  64.              * Use the End-of-Includes Comment in Your Source Files
  65.              The Make File for CMAKE
  66.                MASM
  67.                * Switches for MASM
  68.                * How CMAKE Processes an Assembly-Language-Source File
  69.              in the help file.
  70.  
  71.      5. The use and placement of the comment
  72.  
  73.         /* CMAKE - INCLUDE END */
  74.  
  75.         in the files, "hello.c", "world.c", and "greeting.c".
  76.  
  77.         In these files, this comment is placed after all #include
  78.         statements.  Although this comment is not required in C-source
  79.         files, it serves as an end-of-file mark for CMAKE, and thus
  80.         prevents CMAKE from searching the entire source file for
  81.         #include statements.
  82.  
  83.         See: Optimizing Performance
  84.              * Use the End-of-Includes Comment in Your Source Files
  85.              The Make File for CMAKE
  86.                CL
  87.                * Switches for CL
  88.                * How CMAKE Processes a C-Source File
  89.              in the help file.
  90.